package k8s

// IK8sNamespace is k8s空间接口
type IK8sNamespace interface {
	FindLatestPods(name string)(IK8sPod, error)
	FindPods(name string) ([]IK8sPod, error)
	FindDeployments(name string) ([]IK8sDeployment, error)
	FindReplicaSet(deploymentName string) ([]IK8sReplicaSet, error)
	Rollback(deploymentName string, rollbackReplicaSetName string) error
}
